<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE xsl:stylesheet  [
	<!ENTITY nbsp   "&#160;">
	<!ENTITY copy   "&#169;">
	<!ENTITY reg    "&#174;">
	<!ENTITY trade  "&#8482;">
	<!ENTITY mdash  "&#8212;">
	<!ENTITY ldquo  "&#8220;">
	<!ENTITY rdquo  "&#8221;"> 
	<!ENTITY pound  "&#163;">
	<!ENTITY yen    "&#165;">
	<!ENTITY euro   "&#8364;">
]>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" encoding="utf-8"/>
<xsl:template match="/" name="editCustomer">
<table>
		<tr>
			<td style="vertical-align:top"><form id="form1" name="form1" method="post" action="index.php">
				<table>
					<caption>
						customer:
						</caption>
					<tr>
						<th scope="row"> id</th>
						<td>
						  <input type="text" size="8" readonly="true">
						    <xsl:call-template name="bee_php_input">
						      <xsl:with-param name="id">id</xsl:with-param>
						    </xsl:call-template>
						  </input>
					  </td>
					</tr>
					<tr>
						<th scope="row">name</th>
						<td>
						  <input type="text" size="40">
                <xsl:call-template name="bee_php_input">
                  <xsl:with-param name="id">name</xsl:with-param>
                </xsl:call-template>
						  </input>
						</td>
					</tr>
					<tr>
						<th scope="row">description</th>
						<td>
						  <textarea cols="50" rows="4">
                <xsl:call-template name="bee_php_inputarea">
                  <xsl:with-param name="id">description</xsl:with-param>
                </xsl:call-template>						  
						  </textarea>
						</td>
					</tr>
					<tr>
					  <th scope="row">VAT/IBAN number</th>
					  <td>
					    <input type="text" maxlength="13" size="13">
                <xsl:call-template name="bee_php_input">
                  <xsl:with-param name="id">VAT</xsl:with-param>
                </xsl:call-template>
					    </input>
					  </td>
					  </tr>
					<tr>
						<th scope="row">status</th>
						<td>
              <select>
                <xsl:call-template name="bee_php_option">
                  <xsl:with-param name="id">statuss</xsl:with-param>
                </xsl:call-template>            
              </select>
						</td>
					</tr>
					<tr>
						<th colspan="2" scope="row"><div align="right">
								<xsl:choose>
									<xsl:when test="form/rowData/bee_org_unit/id = ''">
										<input name="sys_action=add" type="submit" id="sys_action_add" value="Add" />
									</xsl:when>
									<xsl:otherwise>
										<input name="sys_action=update" type="submit" id="sys_action_update" value="Update" />
									</xsl:otherwise>
								</xsl:choose>
						</div></th>
					</tr>
				</table>
			</form>
				</td>
		</tr>
	</table>
	<p>&nbsp;</p>
<xsl:if test="form/rowData/bee_org_unit/id != ''">
 <div class="ajaxGrid" id="bee_ajaxGrid" gridID="grd201101281010" >loading customers ...
 </div>
</xsl:if>
<br />
</xsl:template>
</xsl:stylesheet>